/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.openbravo.bean;

import java.util.Date;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_BaseBean;


/**
 *
 * @author Administrator
 */
public class StockDiary implements I_BaseBean<String>,I_AutoGeneratorStringKey{
	String id;
	Date date;
	String reason;
	String location;
	String productID;
    String productAttSetInstId;
    double multiply;
    double price;
    private String lotNo;
    private Date validityDate;
    private String bomId;
    private boolean bomStroe;
    
    public String getKey() {
    	return id;
    }

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getProductID() {
		return productID;
	}

	public void setProductID(String productID) {
		this.productID = productID;
	}

	public String getProductAttSetInstId() {
		return productAttSetInstId;
	}

	public void setProductAttSetInstId(String productAttSetInstId) {
		this.productAttSetInstId = productAttSetInstId;
	}

	public double getMultiply() {
		return multiply;
	}

	public void setMultiply(double multiply) {
		this.multiply = multiply;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	@Override
	public void setKey(String key) {
		this.id=key;	
	}

	public String getLotNo() {
		return lotNo;
	}

	public void setLotNo(String lotNoId) {
		this.lotNo = lotNoId;
	}

	public Date getValidityDate() {
		return validityDate;
	}

	public void setValidityDate(Date validityDate) {
		this.validityDate = validityDate;
	}

	public String getBomId() {
		return bomId;
	}

	public void setBomId(String bomId) {
		this.bomId = bomId;
	}

	public boolean isBomStroe() {
		return bomStroe;
	}

	public void setBomStroe(boolean bomStroe) {
		this.bomStroe = bomStroe;
	}	
}
